//1.导入的{}中定义的变量
import {flag} from './aaa.js'
if(flag){
	console.log("hhhhhh")
}

//2.直接导入export定义的变量
import {num1,height} from 'aaa.js';

console.log(num1);
console.log(height);

//3.导入export的fun
import {mul,person} from './aaa.js';

console.log(mul(30,50));

const p=new person();
p.run();

//4.导入export default的内容
import addr from './aaa.js';

addr("你好啊");

//5.统一全部导入
//import {flag,num,num1,height,person,mul,sum} from './aaa.js'

import * as aaa from './aaa.js'

console.log(aaa.flag)